﻿using System;

namespace T.FAS.Runtime.Base.Entity
{
    [Serializable]
    public class AuthServiceParam
    {
        public AuthDimensionType Dimension { get; set; }
        public string UserID { get; set; }
        public string SubSystemID { get; set; }
        public string SubSystemCode { get; set; }
        public string ModuleID { get; set; }
        public string ModuleCode { get; set; }
        public AuthBusinessType BusinessType { get; set; }
    }

    /// <summary>
    /// 权限维度类型
    /// </summary>
    public enum AuthDimensionType
    {
        ByUserID = 0,
        BySubSystem = 1,
        ByModule = 2,
    }
}
